﻿using System;

namespace DataCenter.MyException
{
    public class NoStartTimeError : ApplicationException
    {
        public NoStartTimeError()
        {
        }

        public NoStartTimeError(string message) : base(message)
        {
        }

        public NoStartTimeError(string message, Exception innerException) : base(message, innerException)
        {
        }
    }

    public class NullValueException : ApplicationException
    {
        public NullValueException()
        {
        }

        public NullValueException(string message) : base(message)
        {
        }

        public NullValueException(string message, Exception innerException) : base(message, innerException)
        {
        }
    }

    public class APIReturnException: ApplicationException
    {
        public APIReturnException(){}
        public APIReturnException(string message) : base(message){}
        public APIReturnException(string message, Exception innerException) : base(message, innerException){}
    }

    public class APINoPermissionException:ApplicationException
    {
        public APINoPermissionException(){ }
        public APINoPermissionException(string message) : base(message){ }
        public APINoPermissionException(string message, Exception innerException) : base(message, innerException){ }
    }
}
